import instance from '@/utils/request'

//完成了登录接口封装
export function loginApi(data) {
  return instance({
    url: '/sys/login',
    method: 'POST',
    data
  })
}

//获取用户基本信息
export function getInfoApi() {
  return instance({
    url: '/sys/profile',
    method: 'POST',

  })
}

export function logout() {}
